package com.zy.cat.entity.mall.resp;

import java.util.List;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 达人说页面模板响应数据
 * @author: xiake
 * @createDate: 2020/8/31 13:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("达人说页面模板响应数据")
public class CatTalentInfoResp {

	@ApiModelProperty(value = "置顶文章数组", example = "5")
	private List<TalentInfoData> topdata;
	
	@ApiModelProperty(value = "最新文章数组", example = "5")
	private List<TalentInfoData> newdata;
	
	@ApiModelProperty(value = "阅读量降序排列的文章信息", example = "5")
	private List<TalentInfoData> clickdata;
	
	@ApiModelProperty(value = "文章类别", example = "5")
	private Map<String,String> talentCategory;
	
	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	@ApiModel("达人说页面模板数据")
	public static class TalentInfoData{
		
		@ApiModelProperty(value = "文章id", example = "5")
		private String id;
		
		@ApiModelProperty(value = "文章标题", example = "5")
	    private String name;
		
		@ApiModelProperty(value = "文章短标题", example = "5")
	    private String shorttitle;
		
		@ApiModelProperty(value = "文章商品主图", example = "5")
	    private String image;
		
		@ApiModelProperty(value = "置顶图片", example = "5")
	    private String appImage;
		
		@ApiModelProperty(value = "文章标签", example = "5")
	    private String label;
	    
	    @ApiModelProperty(value = "文章包含商品的id", example = "5")
	    private String tkItemId;
	    
	    @ApiModelProperty(value = "文章banner", example = "5")
	    private String articleBanner;
	    
	    @ApiModelProperty(value = "文章置顶1是，0否", example = "5")
	    private String highquality;
	    
	    @ApiModelProperty(value = "浏览量", example = "5")
	    private String composeImage;
	    
	    @ApiModelProperty(value = "浏览量", example = "5")
	    private String readtimes;
	    
	    @ApiModelProperty(value = "达人名号", example = "5")
	    private String talentName;
	    
	    @ApiModelProperty(value = "达人头像", example = "5")
	    private String headImg;
	    
	    @ApiModelProperty(value = "正文简介", example = "5")
	    private String article;
	    
	    @ApiModelProperty(value = "文章类别（1.好物,2.潮流,3.美食,4.生活）", example = "5")
	    private String talentcat;
	    
	    @ApiModelProperty(value = "ID", example = "5")
	    private String talentId;
	    
	    @ApiModelProperty(value = "文章包含商品的数量", example = "5")
	    private String itemnum;
	    
	}
}
